Terraform script of creating notification_channel for Pagerduty in GCP

Hi Team

I have a requirement wherein I have to create a “google_monitoring_notification_channel” for Pagerduty in GCP.

This should we done via terraform. Is there any terraform/json script available which I can use for the same.
It would be of great help.

Thanks
Swati

Hi Swati,

As you mentioned the Terraform resource name (google_monitoring_notification_channel) , I suppose you know the Terraform provider for GCP notifications channels.

https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/monitoring_notification_channel

You can find samples on Github:

Hope this helps

Hi Swati and Sebastien,

Thank you for providing the suggestions Sebastien.

Swati let us know if this helps you or if you have further questions, and you can always reach out to our Support Team by email to support@pagerduty.com for specific examples that you may not want to share sensitive details here.